home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
ul_dl11.zip
/
UL-DL.DOC
< prev
next >
Wrap
Text File
|
1992-01-05
|
8KB
|
264 lines
Upload/Download Files List v1.1
Copyright 1992, by Mark Langdon
For PCBoard 14.5a BBS's
:::::: NOTE CONFIGURATION FILE CHANGE IN THIS RELEASE ::::::
There is a MINOR change to the .CFG configuration file needed to use this
release of UL-DL.EXE. I neglected to provide a way for the BBS sysop to
insert THEIR Bbs name to the DLFILES.TXT and ULFILES.TXT files. Oooops!
All you need to do it add a line to your UL-DL.CFG file (or whatever you
called it) as the FIRST line in the file. This MUST be on the FIRST line.
There is an example of this .cfg file below under SET-UP.
------
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
INTRODUCTION
------------
Myself being one who does a lot of uploading and downloading from BBS's, I
found that I lost track of what files I uploaded or downloaded to what BBS's.
I wrote this small program for PCBoard BBs's so the user can create and
download a list of all files that he/she has transferred to the BBS.
LICENSE AGREEMENT
-----------------
This program is being distributed as "FreeWare". There is no charge of any
kind to use this software. The only requirement is that ALL files within
this .ZIP file MUST be TRANSFERRED together. ---
DISCLAIMER
----------
In no way will I, the author of this program, be liable to you for any
damages including any lost data, damaged equiptment, or any other damages
as a result of using this program.
FILES LISTING
-------------
CLEANLOG.EXE ....... Cleans your DOWNLOAD.TXT file of possible errors.
FILE_ID.DIZ ........ This program description. (please keep with .zip file)
FLAGFILE.TXT ....... Will cause PCB to automatically FALG the newly created
file listing for download.
UDLIST ............. Example of batch file to run this door.
UL-DL.CFG .......... Configuration file for the program.
UL-DL.DOC .......... The docs, your read'n it!
UL-DL.EXE .......... The main program file.
HOW IT WORKS
------------
This program takes advantage of the special features of PCBoard 14.5a.
Here's how it works. This program is set up as a SHELLED door in PCBoard.
You create a batch file, just like any other door, but you should also add
the command to your PCBoard main menu screen (BRDM). It is a shell so when
run, it will not give the user a message saying, "Loading xxxxx door".
Therefore it looks like any other command issued from PCBoard.
When a user enters the command, (the command being whatever YOU name the
batch file), this program looks for your DOWNLOAD.TXT file, then creates
2 files - ULFILES.TXT, a list of files that the user has uploaded to your BBS,
and DLFILES.TXT, a list of files that the user has downloaded from your BBS.
That is basically all this program itself does. The rest of the process is
handled in the batch file (see below).
NOTE:: The larger your DOWNLOAD.TXT file is, the longer it will take this
program to process it.
SET-UP
------
The command line usage for this program is - "UL-DL.EXE UL-DL.CFG"
| |
Program Name Config. file name
.CFG FILE
---------
The configuration file can be whatever you name it. The file consists
of only two lines of text. The first line is Your BBS name, the second
line is the name & location of your PCBOARD.SYS file. The third line is
the name & location of your DOWNLOAD.TXT file.
example- Your BBS Name Here
D:\PCB\PCBoard.SYS
D:\PCB\DOWNLOAD.TXT
The largest task when setting up this program is the batch file that will
run the door. Below is an example of the batch file and it's explanation -
D: ;Change to Drive C:
cd D:\PCB\ULDL ;Change to dir. where you install
this program.
PROECHO 2 ~Creating File Transfer Lists. Please Wait........... (see below)
ul-dl ul-dl.cfg ;Invoke this program
PROECHO 2 ~Now Zipping Files For Download. Please Wait......... (see below)
PKZIP UL-DL DLFILES.TXT ULFILES.TXT ;Zip the new files created.
DEL DLFILES.TXT ;Delete download file report. (not
used after it has been zipped)
DEL ULFILES.TXT ;Delete upload file report. (not
used after it has been zipped)
COPY UL-DL.ZIP D:\PCB\UPLOADS\UP ;Copy the new .zip file to a VALID
download dir specified in your
PCBSETUP. (I recommend your main
Upload dir.)
DEL UL-DL.ZIP ;Delete old .zip file
COPY FLAGFILE.TXT D:\PCB\PCBSTUFF.KBD ;Included in this .zip file is the file
FALGFILE.TXT. This contains the PCB
command, "FLAG", and the filename that
you gave the zipped file, (in this
example the filename is UL-DL.ZIP),
separated by a colon (;). This is
needed if you want PCBoard to auto-
maticly FLAG the file for download
upon returning from the door.
Just copy the contents of this file
to your BBS directory as filename
PCBSTUFF.KBD. PCBoard will also delete
this file after it carries out the
FLAG operation.
CD D:\PCB ;Change back to your BBS directory.
EXIT ;EXIT the shell, back to PCBoard.
NOTE: Just remember to change the path specifications in the above example,
to YOUR computer's configuration.
Lines 2 and 5, referenced above, are lines of text sent out the modem to let
the user know what is going on. THIS IS OPTIONAL. I used the program -
PROECHO.EXE, which is a public domain program available on many BBS's,
to send text out the modem. Another similar program which will work fine is-
SENDCOM.EXE.
CLEANLOG.EXE
------------
I included this program because I found that your DOWNLOAD.TXT file sometimes
records a blank line. This will cause the UD-LD.EXE program to mis-read the
download.txt file, and result in incorrect transfer reports.
This program will not harm your download.txt file at all, so I recommend
running it before you use UL-DL.EXE. (It will also prevent any other utilities
from mis-reading the download.txt file in the future).
To run this program your download.txt MUST be in the same directory as this
program. When run, it will create a new download.txt file`called DOWNLOAD.NEW.
Then just delete your old download.txt file, and rename download.new as
download.txt.
(keep in mind that, as with the UL-DL.EXE program, the speed of this program
depends on the size of your download.txt. Myself with a 15 ms fast hard
drive, and 80286 CPU, it takes a 200k file about 1.25 min. to process).
SUPPORT
-------
If you run into any problems with this program, or perhaps would like to
comment about it, I can be reached, as the Sysop, at -
********************************************
* Mark's "Unknwon" BBS *
* Agawam, Ma. *
* (413) 786-9136 *
* *
* On-Line 24 hrs/day, 7-days/week *
* Supporting 1200/2400 bd. *
* No Parity, 8 data bits, 1 stop bit *
********************************************